<style type="text/css">  
    #userreg{background:url(/images/reg.png) no-repeat; width:600px; height:400px;font-size:12px; text-align:left;padding-top:100px;}
    #userreg ul{ padding:0 30px 0 30px;}
    #userreg li{height:26px;color:#333;}
    #userreg li input{vertical-align:middle;}
    #userreg li.hr{border-top:1px solid #fff;height:5px}
    #userreg li span{display:block; width:130px; float:left; text-align:right; padding-right:5px; color:#333;}
    #userreg li .text{width:140px; height:16px;}
    #userreg li .regbtn{background:url(/images/btn_reg.gif); border:0px; width:135px; height:26px; color:#303030; margin-left:50px; cursor:pointer;}
    #userreg li.code{ height:35px;}
    #userreg li.code input{width:70px; height:16px;float:left;}
    #userreg li.code img{vertical-align:top; float:left; padding-left:5px; display:block;}
    #userreg li a{color:#44dcff; padding-left:10px; text-decoration:none;}
    #userreg li a:hover{text-decoration:underline;}
    #forimg{cursor:pointer;}
    /* 注册ICON样式 */
    #userreg li span.lock{background:url(/images/reg_ico.gif) top left no-repeat; margin-left:50px; width:80px;_margin-left:25px;_width:80px;}
    #userreg b{float:right; display:block; width:195px; background:#CCC; padding: 2px 0 1px 20px; font-weight:normal;}
    #userreg b.r_ok{ background:#EFE url(/images/reg_icon.gif) top left no-repeat;border:1px solid #189F01;color:#189F01;}
    #userreg b.r_err{ background:#FFD4C1 url(/images/reg_icon_e.gif) top left no-repeat;border:1px solid #E4422A;color:#E4422A;}
    #userreg b.r_def{ background:url(/images/del_n.gif) top left no-repeat;}
    .close{position:absolute; top:38px; left:559px; cursor:pointer;}
</style>

<script src="/manage/js/jquery.cookie.js" type="text/javascript"></script>
<script src="/JS/reg.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript" >
    var fromUrl;
    fromUrl=window.location.href;
    //$("#hidInvite").val() = GetQueryString("InviteCode");
    //alert(GetQueryString("InviteCode")); 
</script>

<form id="formreg" action="javascript:RegAjax('/home/register.ashx','txtEmail='+$('#txtEmail').val()+'&txtPsw='+$('#txtPsw').val()+'&txtPsw2='+$('#txtPsw2').val()+'&Register='+$('#Register').val()+'&txtName='+$('#txtName').val()+'&selPrivacy='+$('#selPrivacy').val()+'&sex='+$(':checked[name=sex]').val()+'&job='+$(':checked[name=job]').val()+'&InviteCode='+fromUrl)" method="post" onsubmit="return regAll()">
<div id="userreg">
	<ul>
    	<li><a class="close"><img src="/images/close.gif" alt="关闭" /></a>加油网是帮助你与你的朋友、同事、同学、家人保持更紧密联系的真实社交平台。</li>
    	<li><b id="liEmail" class="r_def">&nbsp;</b><span>您的Email：</span><input id="txtEmail" name="txtEmail" type="text" class="text" /></li>
        <li><b id="liPsw" class="r_def">由6-20个字母/数字/下划线组成</b><span>设置加油网密码：</span><input id="txtPsw" name="txtPsw" type="password" class="text" onblur="CheckPsw()"/></li>
        <li><b id="liPsw2" class="r_def">&nbsp;</b><span>再输入一遍密码：</span><input id="txtPsw2" name="txtPsw2" type="password" class="text" onblur="CheckPsw2()" /></li>
        <li class="hr">&nbsp;</li>
        <li><b id="liName" class="r_def">中文,长度为2-4位</b><span>您的姓名：</span><input id="txtName" name="txtName" type="text" class="text" onblur="CheckName()" /></li>
        <li><b class="r_def">&nbsp;</b><span>您的性别：</span><input type="radio" name="sex" value="0" id="boy"/>
        <label for="boy">男</label>
        <input type="radio" name="sex" value="1" id="girl" checked="checked" />
        <label for="girl">女</label></li>
        <li><b class="r_def">&nbsp;</b><span>您的职业：</span>
        <input type="radio" name="job" value="0" id="stu"/><label for="stu">学生</label>
         <input type="radio"name="job" value="1" id="work"  checked="checked" /><label for="work">工作</label>
         <input type="radio" name="job" value="2" id="other"/><label for="other">其他</label></li>
        <li><b class="r_def">&nbsp;</b><span class="lock">私隐设置：</span><select id="selPrivacy" name="selPrivacy"><option value="0">完全公开</option><option value="1">好友或相同圈子可见</option><option value="2">仅好友能看见我的资料和内容</option><option value="3">只有我自己</option></select></li>
        <li class="hr">&nbsp;</li>
        <li class="code"><b id="liCode" class="r_def"></b><span>验证码：</span><input id="textcode" name="textcode" type="text" value="" /><img id="forimg" alt="看不清楚？点我换一个" src="/Images/ImgCode.ashx?at=user" /></li>
        <li><span>&nbsp;</span><a href="#">加油网注册条款</a></li>
        <li><span>&nbsp;</span><input type="submit" value="" class="regbtn" id="reg" name="reg" /><input type="hidden" name="Register" id="Register" value="Submit" /></li>
   <!-- <li><input type="text" id="hidInvite" name="hidInvite" value="" /></li>-->
    </ul>
</div>
</form>



